<template>
  <div style="background-color: white;">
    <el-table :data="roleList" :border="true">
      <el-table-column type="index" label="ID" width="50"></el-table-column>
      <el-table-column prop="code" label="编码" width="150"></el-table-column>
      <el-table-column prop="name" label="名称" width="150"></el-table-column>
    </el-table>

    <div v-for="n in 50" :key="n">{{n}}</div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      roleList: [
        { id: 0, code: 'admin', name: '管理员' },
        { id: 1, code: 'manager', name: '经理' }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
